Google News
logo
ReactJS - Quiz(MCQ)
Consider the following code from React Router. What do you call :id in the path prop?

<Route path="/:id" />
A)
This is a route modal
B)
This is a route parameter
C)
This is a route splitter
D)
This is a route link

Correct Answer :   This is a route parameter